/*
 * 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。[遇见知启蒙，邂逅框架梦]
 * 
 * https://zhiqim.org/project/zhiqim_framework/zhiqim_kernel.htm
 *
 * Zhiqim Kernel is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *          http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */
package org.zhiqim.kernel.websocket;

/**
 * WebSocket空服务适配器，子类继承实现需要的方法即可
 *
 * @version v1.5.2 @author zouzhigang 2020-4-26 新建与整理
 */
public class WebSocketServicer implements WebSocketService
{
    @Override
    public void onOpen(WebSocket conn)
    {
    }
    
    @Override
    public void onClose(WebSocket conn, int code)
    {
    }
    
    @Override
    public void onException(WebSocket conn, Throwable e)
    {
    }

    @Override
    public void onExceptionSend(WebSocket conn, Throwable e, WebSocketPacket packet)
    {
    }
    
    @Override
    public void onPing(WebSocket conn)
    {
    }
    
    @Override
    public void onPong(WebSocket conn)
    {
    }

    @Override
    public void onText(WebSocket conn, String text)
    {
    }

    @Override
    public void onBinary(WebSocket conn, byte[] binary)
    {
    }
    
    @Override
    public void onMiddle(WebSocket conn, byte[] middle)
    {
    }

    @Override
    public void onOther(WebSocket conn, byte[] message)
    {
    }
}
